package uri.model;

import org.springframework.web.multipart.MultipartFile;

public class DiaryVO {
	private String no;
	private String date;
	private String content;
	private String id;
	private String page;
	private MultipartFile uploadFile;//업로드 파일
	private String orgfilename;//업로드한 원본파일명
	private String newfilename;//시간_파일명  저장할 변경파일명 
	public DiaryVO() {
		super();
	}
	public String getNo() {
		return no;
	}
	public void setNo(String no) {
		this.no = no;
	}
	public String getDate() {
		return date;
	}
	public void setDate(String date) {
		this.date = date;
	}
	public String getContent() {
		return content;
	}
	public void setContent(String content) {
		this.content = content;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	
	public String getPage() {
		return page;
	}

	public void setPage(String page) {
		this.page = page;
	}

	
	public MultipartFile getUploadFile() {
		return uploadFile;
	}
	public void setUploadFile(MultipartFile uploadFile) {
		this.uploadFile = uploadFile;
	}
	public String getOrgfilename() {
		return orgfilename;
	}
	public void setOrgfilename(String orgfilename) {
		this.orgfilename = orgfilename;
	}
	public String getNewfilename() {
		return newfilename;
	}
	public void setNewfilename(String newfilename) {
		this.newfilename = newfilename;
	}
	@Override
	public String toString() {
		return "DiaryVO [no=" + no + ", date=" + date + ", content=" + content
				+ ", id=" + id + ", page=" + page + ", uploadFile="
				+ uploadFile + ", orgfilename=" + orgfilename
				+ ", newfilename=" + newfilename + "]";
	}

	
}
